package com.ztc.ZtcCorporation.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

@Entity
@Table(name = "ztc_corporation")
public class ZtcCorporation implements BaseEntity{

    private String id;//

    private String name;//å��ç§°

    private String address;//åœ°å�€

    private String phone;//ç”µè¯�

    private java.lang.Integer type;//ç±»åž‹

    private String areaCode;//åœ°ç�†åŒºåŸŸä»£ç �

    private String userId;//ç”¨æˆ·id

    public void setId(String value){
        this.id = value;
    }
    public void setName(String value){
        this.name = value;
    }
    public void setAddress(String value){
        this.address = value;
    }
    public void setPhone(String value){
        this.phone = value;
    }
    public void setType(java.lang.Integer value){
        this.type = value;
    }
    public void setAreaCode(String value){
        this.areaCode = value;
    }
    public void setUserId(String value){
        this.userId = value;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=true,insertable=true,updatable=true,length=255)
    public String getName(){
        return this.name;
    }
    @Column(name ="address",unique=false,nullable=true,insertable=true,updatable=true,length=255)
    public String getAddress(){
        return this.address;
    }
    @Column(name ="phone",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getPhone(){
        return this.phone;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getType(){
        return this.type;
    }
    @Column(name ="area_code",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getAreaCode(){
        return this.areaCode;
    }
    @Column(name ="user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getUserId(){
        return this.userId;
    }
} 
